const gettoday = (myDate) => {
    let year = myDate.getFullYear();
    let month = myDate.getMonth() + 1;
    let date = myDate.getDate();
    return year + "年" + month + "月" + date + "日";
}
const checkPhone = (phone) => {
    if (!(/^1[3456789]\d{9}$/.test(phone))) {
        return false;
    }
    return true;
}
export {
    gettoday,
    checkPhone
}